package com.meilai.project.vo.personnel.org;

import com.meilai.project.entity.personnel.org.Roster;
import com.meilai.project.vo.system.WebUserDepartmentRelationByUserIdVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 张驰
 * @date 2022/1/18 11:56
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class RosterVO extends Roster {
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("性别")
    private String sex;
    @ApiModelProperty("工作经验List")
    private List<RosterWorkExperienceVO> work_experiences;
    @ApiModelProperty("家庭成员List")
    private List<RosterFamilyMemberVO> family_members;
    @ApiModelProperty("角色IDList")
    private String role_ids;
    @ApiModelProperty("角色名称List")
    private String role_names;
    @ApiModelProperty("Web首页ID")
    private Long index_role_id;
    @ApiModelProperty("小程序首页ID")
    private Long mini_index_role_id;
    @ApiModelProperty("Web首页名称")
    private String index_page;
    @ApiModelProperty("小程序首页名称")
    private String mini_index_page;
    @ApiModelProperty("部门信息")
    private List<WebUserDepartmentRelationByUserIdVO> department_list=new ArrayList<>();
    @ApiModelProperty("参保公司名称")
    private String social_security_dep_name;
}
